﻿using Akka.Actor;
using Akka.Configuration;
using Akka.Ext.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestServerNet45
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var configIni = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + "Config.ini");
            var config = ConfigurationFactory.ParseString(configIni);
            var system = ActorSystem.Create("server2", config);
            var server = new AkkaHttpServer(system, "test", "http://localhost:5187");

            Console.ReadKey();
        }
    }
}
